View on GitHub

csc263

Notes for CSC263 - Data Structures and Analysis

Back to index

Lower Bounds on Sorting

How fast can we sort a list?

Suppose the list has size $n$

Decision Trees

image-20200325124845368

Therefore the worst case running time of a comparison-based sorting algorithm is $\Omega(n \log(n))$

Implications